package com.heu.blood.storge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heu.blood.common.utils.PageUtils;
import com.heu.blood.storge.entity.BloodStorgeWarningEntity;
import com.heu.blood.storge.vo.BloodWarningVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author wjh
 * @email 1208325290@heu.com
 * @date 2023-07-25 11:58:46
 */
public interface BloodStorgeWarningService extends IService<BloodStorgeWarningEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //根据血液阈值
    PageUtils  storgeWarningByBagValue(Map<String, Object> params);

    PageUtils storgeWarningByTime(Map<String, Object> params);

    //新的库存预警信息
    PageUtils newStorgeWarningByTime(Map<String, Object> params);

    List<BloodWarningVo> expired();
}

